package com.laoli.myspringboottest.event;

import com.laoli.myspringboottest.model.TestItem;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;


/**
 * @author iamli
 */
public class TestEvent extends ApplicationEvent {

    @Getter
    private TestItem testItem;

    public TestEvent(Object source) {
        super(source);
    }

    public TestEvent(Object source, TestItem testItem) {
        super(source);
        this.testItem = testItem;
    }

}
